package com.leha.mp.api.quarzJob;

import com.leha.mp.core.services.AppDoctorServices;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;

@Log4j2
public class DailyStaticsJob {

    @Autowired
    AppDoctorServices doctorServices;
    protected void execute() {
        log.info("统计任务启动");
        doctorServices.updateAllDoctorStatics();
        log.info("统计任务结束");
    }
}